package com.lzh.persevere.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lzh.persevere.common.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 照片墙表(PhotoWall)表实体类
 *
 * @author luzhiheng
 * @since 2025-07-05
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("photo_wall")
@Builder
@Accessors(chain = true)
@Entity
@Table(name = "photo_wall", indexes = {})
public class PhotoWall extends BaseEntity {

    /**
     * 照片地址
     */
    @Column(name = "url", columnDefinition = "varchar(2048) COMMENT '照片地址'")
    private String url;
}
